<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>电影天堂 - 错误页面</title>
  <link rel="stylesheet" href="/css/style.css" th:href="@{/css/style.css}">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
  <script src="/js/jquery-3.7.1.min.js" th:src="@{/js/jquery-3.7.1.min.js}"></script>
</head>
<body>
<!-- 头部区域 -->
<header th:replace="~{top}"></header>

<!-- 主要内容区域 -->
<main>
  <!-- 错误信息 -->
  <section class="error-section">
    <div class="container">
      <h1>哎呀，出错了！</h1>
      <p th:text="${message}">这里显示错误信息。</p>
      <a th:href="@{/}" class="home-link">返回首页</a>
    </div>
  </section>
</main>

<!-- 页脚区域 -->
<footer th:replace="~{footer :: footer}"></footer>

<!-- 站点 JavaScript -->
<script src="/js/main.js" th:src="@{/js/main.js}"></script>
</body>
</html>